package com.erp.erp_mask.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.List;

import lombok.Data;

/**
 * 
 * @TableName t_category
 */
@TableName(value ="t_category")
@Data
public class TCategory implements Serializable {
    /**
     * 
     */
    @TableId(type = IdType.AUTO)
    private Integer catId;

    /**
     * 
     */
    private String catName;

    /**
     * 
     */
    private String catNumber;

    /**
     * 
     */
    private String catModel;

    /**
     * 
     */
    private String catCommon;

    /**
     * 
     */
    private String catUnits;

    /**
     * 
     */
    private Integer parentLevel;
    @TableField(exist = false)
    private List<TCategory> children;
    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}